# -*- coding:utf-8 -*-
# created by jinss

for i in range(10):
    if i > 5:
        print('*' * (10 - i))
    else:
        print('*' * i)